//
// Created by longyunbo on 6/23/21.
//

#include "AccessFlags.h"


bool AccessFlags::isStatic(){
    return (flag & basicType->JVM_ACC_STATIC) != 0;
}

AccessFlags::AccessFlags(int value){
    flag = value;
};

AccessFlags::~AccessFlags(){

    if( basicType == nullptr ){
        delete basicType;
    }

}

int AccessFlags::getFlag(){
    return flag;
};